package com.create.factory;

/**工厂模式
 * @author lsh
 *
 */
public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Food food = Factory.getFood(1);
		System.out.println(food.getPrice());
	}

}
